/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.recycling.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.medusa.gruul.common.data.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 回收设置表
 * </p>
 *
 * @author whh
 * @since 2021-04-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_recycling_setting")
@ApiModel(value = "RecyclingSetting对象", description = "回收设置表")
public class RecyclingSetting extends BaseEntity<RecyclingSetting> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商铺ID
     */
    @ApiModelProperty(value = "商铺ID")
    @TableField("shop_id")
    private String shopId;

    /**
     * 商品基金是否开启 true开启 false 关闭
     */
    @ApiModelProperty(value = "商品基金是否开启 true开启 false 关闭")
    @TableField("goods_fund_state")
    private Boolean goodsFundState;

    /**
     * 基金额度
     */
    @ApiModelProperty(value = "基金额度")
    @TableField("fund_quota")
    private BigDecimal fundQuota;

    /**
     * 页面背景图片地址
     */
    @ApiModelProperty(value = "页面背景图片地址")
    @TableField("page_bg_img")
    private String pageBgImg;

    /**
     * 购买成功展示背景图地址
     */
    @ApiModelProperty(value = "购买成功展示背景图地址")
    @TableField("buy_bg_img")
    private String buyBgImg;

    /**
     * 首页未寄出提示背景图地址
     */
    @ApiModelProperty(value = "首页未寄出提示背景图地址")
    @TableField("home_prompt_bg_img")
    private String homePromptBgImg;

    /**
     * 回收券功能是否开启  true开启 false 关闭
     */
    @ApiModelProperty(value = "回收券功能是否开启  true开启 false 关闭")
    @TableField("recycling_state")
    private Boolean recyclingState;

    /**
     * 商品详情回收入口是否开启  true开启 false 关闭
     */
    @ApiModelProperty(value = "商品详情回收入口是否开启  true开启 false 关闭")
    @TableField("entrance_state")
    private Boolean entranceState;

    /**
     * 样式配置json
     */
    @ApiModelProperty(value = "样式配置json")
    @TableField("btn_style_json")
    private String btnStyleJson;

    /**
     * 关联卡券id
     */
    @ApiModelProperty(value = "关联卡券id")
    @TableField("ass_coupon_id")
    private Long assCouponId;

    /**
     * 页面轮播图
     */
    @ApiModelProperty(value = "页面轮播图")
    @TableField("page_carousels")
    private String pageCarousels;

    /**
     * 活动说明
     */
    @ApiModelProperty(value = "活动说明")
    @TableField("activity_desc")
    private String activityDesc;

    /**
     * 提交按钮
     */
    @ApiModelProperty(value = "提交按钮")
    @TableField("submit_img")
    private String submitImg;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
